package com.xebest.web.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author 
 */
public class XeVenStoreInventoryEntity implements Serializable {
    /**
     * 自增主键
     */
    private Integer id;

    /**
     * 库存一览表ID
     */
    private String storeInvId;

    /**
     * 供应商编码
     */
    private String userCode;

    /**
     * 仓库ID
     */
    private String storeId;

    /**
     * 商品SKU
     */
    private String proSku;

    /**
     * 实际库存
     */
    private BigDecimal actualInv;

    /**
     * 可用库存
     */
    private BigDecimal usableInv;

    /**
     * 订单占用库存
     */
    private BigDecimal lockedInv;

    /**
     * 在途数
     */
    private BigDecimal transitInv;

    /**
     * 商品货号
     */
    private String proNum;

    /**
     * 商品图片
     */
    private String proMainImg;

    /**
     * 商品名称
     */
    private String proName;

    /**
     * 商品分类
     */
    private String proCategoryId;

    /**
     * 商品分类名
     */
    private String proCategoryName;

    /**
     * 计价方式  1：重量  2：数量 
     */
    private Integer proPricingType;

    /**
     * 商品单位
     */
    private String proUnit;

    /**
     * 商品规格名
     */
    private String proSpecName;

    /**
     * 商品规格值
     */
    private String proSepcValue;

    /**
     * 平均成本
     */
    private BigDecimal averagePrice;

    /**
     * 是否是冻品 1：是 2：否
     */
    private Integer frozenFlag;

    /**
     * 库存金额
     */
    private BigDecimal invAmount;

    /**
     * 库存上限
     */
    private BigDecimal invMax;

    /**
     * 库存下限
     */
    private BigDecimal invMin;

    /**
     * 创建日期
     */
    private Date createDate;

    /**
     * 创建人
     */
    private String createUser;

    private Date modifyDate;

    private String modifyUser;

    /**
     * 是否删除： 1 未删除 2: 已删除
     */
    private Integer delFlag;

    /**
     * 版本号
     */
    private Integer version;
    /**
     * 库存监控的商品明细
     */
    List<XeVenStoreInventoryDetailEntity> storeInvDetailList;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStoreInvId() {
        return storeInvId;
    }

    public void setStoreInvId(String storeInvId) {
        this.storeInvId = storeInvId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getProSku() {
        return proSku;
    }

    public void setProSku(String proSku) {
        this.proSku = proSku;
    }

    public BigDecimal getActualInv() {
        return actualInv;
    }

    public void setActualInv(BigDecimal actualInv) {
        this.actualInv = actualInv;
    }

    public BigDecimal getUsableInv() {
        return usableInv;
    }

    public void setUsableInv(BigDecimal usableInv) {
        this.usableInv = usableInv;
    }

    public BigDecimal getLockedInv() {
        return lockedInv;
    }

    public void setLockedInv(BigDecimal lockedInv) {
        this.lockedInv = lockedInv;
    }

    public BigDecimal getTransitInv() {
        return transitInv;
    }

    public void setTransitInv(BigDecimal transitInv) {
        this.transitInv = transitInv;
    }

    public String getProNum() {
        return proNum;
    }

    public void setProNum(String proNum) {
        this.proNum = proNum;
    }

    public String getProMainImg() {
        return proMainImg;
    }

    public void setProMainImg(String proMainImg) {
        this.proMainImg = proMainImg;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProCategoryId() {
        return proCategoryId;
    }

    public void setProCategoryId(String proCategoryId) {
        this.proCategoryId = proCategoryId;
    }

    public String getProCategoryName() {
        return proCategoryName;
    }

    public void setProCategoryName(String proCategoryName) {
        this.proCategoryName = proCategoryName;
    }

    public Integer getProPricingType() {
        return proPricingType;
    }

    public void setProPricingType(Integer proPricingType) {
        this.proPricingType = proPricingType;
    }

    public String getProUnit() {
        return proUnit;
    }

    public void setProUnit(String proUnit) {
        this.proUnit = proUnit;
    }

    public String getProSpecName() {
        return proSpecName;
    }

    public void setProSpecName(String proSpecName) {
        this.proSpecName = proSpecName;
    }

    public String getProSepcValue() {
        return proSepcValue;
    }

    public void setProSepcValue(String proSepcValue) {
        this.proSepcValue = proSepcValue;
    }

    public BigDecimal getAveragePrice() {
        return averagePrice;
    }

    public void setAveragePrice(BigDecimal averagePrice) {
        this.averagePrice = averagePrice;
    }

    public Integer getFrozenFlag() {
        return frozenFlag;
    }

    public void setFrozenFlag(Integer frozenFlag) {
        this.frozenFlag = frozenFlag;
    }

    public BigDecimal getInvAmount() {
        return invAmount;
    }

    public void setInvAmount(BigDecimal invAmount) {
        this.invAmount = invAmount;
    }

    public BigDecimal getInvMax() {
        return invMax;
    }

    public void setInvMax(BigDecimal invMax) {
        this.invMax = invMax;
    }

    public BigDecimal getInvMin() {
        return invMin;
    }

    public void setInvMin(BigDecimal invMin) {
        this.invMin = invMin;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

	/**  
	 * @return the storeInvDetailList  
	 */
	
	public List<XeVenStoreInventoryDetailEntity> getStoreInvDetailList() {
	
		return storeInvDetailList;
	}

	/**  
	 * @param storeInvDetailList the storeInvDetailList to set  
	 */
	
	public void setStoreInvDetailList(
			List<XeVenStoreInventoryDetailEntity> storeInvDetailList) {
	
		this.storeInvDetailList = storeInvDetailList;
	}
    
}